import request from '@/utils/request'


export function listSystemProject(query) {
  return request({
    url: '/business/systemProject/list',
    method: 'get',
    params: query
  })
}

export function getSystemProject(systemProjectId) {
  return request({
    url: '/business/systemProject/' + systemProjectId,
    method: 'get'
  })
}

export function addSystemProject(data) {
  return request({
    url: '/business/systemProject',
    method: 'post',
    data: data
  })
}

export function updateSystemProject(data) {
  return request({
    url: '/business/systemProject',
    method: 'put',
    data: data
  })
}

export function delSystemProject(systemProjectId) {
  return request({
    url: '/business/systemProject/' + systemProjectId,
    method: 'delete'
  })
}
